<?php

class Application_Model_DbTable_ItemsCharacterList extends Zend_Db_Table_Abstract
{

    protected $_name = 'txy_item_characters_list';
	
    public function insertNew($data){
    	$this->insert($data);
    }
    
    public function getItemCharactersById($numiids){
    	$res=$this->fetchRow('numiid='.$numiids);
    	return $res->toArray();
    }
    
    public function getAllItems(){
    	$res=$this->fetchAll();
    	return $res->toArray();
    }

}

